package pojo;

import java.util.List;

public class user {
    private String name;
    private String password;
    private major major;
//    private List<major> majors;

    @Override
    public String toString() {
        return "user{" +
                "name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", major=" + major +
                '}';
    }

//    public List<pojo.major> getMajors() {
//        return majors;
//    }
//
//    public void setMajors(List<pojo.major> majors) {
//        this.majors = majors;
//    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public pojo.major getMajor() {
        return major;
    }

    public void setMajor(pojo.major major) {
        this.major = major;
    }
}
